﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Alos.IRepository;
using Alos.IService;
using PetaPoco;
using Alos.Entity;
using Alos.Common;

namespace Alos.Service
{
    public class StudentNoteProblemService : BaseService<StudentNoteProblem>,IStudentNoteProblemService
    {
        IStudentNoteProblemRepository StudentNoteProblemRepository;
        public StudentNoteProblemService(IStudentNoteProblemRepository _StudentNoteProblemRepository)
        {
            StudentNoteProblemRepository = _StudentNoteProblemRepository;
        }
        /// <summary>
        /// 学生提交记录
        /// </summary>
        /// <param name="id"></param>
        /// <param name="roleid"></param>
        /// <returns></returns>
        public bool CreateStudentNoteProblem(StudentNoteProblem StudentNoteProblem) 
        {
            return StudentNoteProblemRepository.CreateStudentNoteProblem(StudentNoteProblem);
        }
    }
}
